package cn.iocoder.yudao.adminserver.modules.fi.controller.project.vo;

import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.util.Date;


/**
 * 项目管理 Excel VO
 *
 * @author hickTeam
 */
@Data
public class ProjectExcelVO {

    @ExcelProperty("项目名称")
    private String projectName;

    @ExcelProperty("项目描述")
    private String projectDesc;

    @ExcelProperty("项目地址")
    private String address;

    @ExcelProperty("区域经理")
    private Integer areaManagerUid;

    @ExcelProperty("项目经理")
    private Integer projectLeaderUid;

    @ExcelProperty("项目主图")
    private String imgList;

    @ExcelProperty("创建时间")
    private Date createdTime;

    @ExcelProperty("甲方")
    private String thirdName;

    @ExcelProperty("项目主管")
    private Integer directorUid;

    @ExcelProperty(value = "项目类型", converter = DictConvert.class)
    @DictFormat("fi_project_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer isNormal;

    @ExcelProperty(value = "项目状态", converter = DictConvert.class)
    @DictFormat("fi_project_status") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer isFinish;

    @ExcelProperty("领班")
    private String captainUid;

    @ExcelProperty("创建人")
    private String creator;

}
